#include "pack.h"
#include <memory.h>
#include <stdlib.h>
uint8_t out[10];

int main(int argc, char const *argv[])
{
    uint8_t  *test = malloc(10);
    uint8_t **_ptr = &test;
    for (size_t i = 0; i < 10; i++)
    {
        test[i] = i + 1;
    }

    for (size_t i = 0; i < 10; i++)
    {
        out[i] = unpack_u8(_ptr);
        printf("out[%d] == %d\r\n"), i, out[i];
    }
    free(test);
    return 0;
}
